import random

comp = random.randint(0, 2)
user = int(input())
compTag = ""
userTag = ""
if comp == 0:
    compTag = "剪刀"
elif comp == 1:
    compTag = "石头"
else:
    compTag = "布"
if user == 0:
    userTag = "剪刀"
elif user == 1:
    userTag = "石头"
else:
    userTag = "布"
print("计算机出的 " + compTag)
print("用户出的 " + userTag)
if user == comp:
    print("平局")
elif user - comp == 1 or user - comp == -2:
    print("用户赢")
else:
    print("计算机赢")